Ubuntu 16.04
Sponsored Link

OpenStack Pike : Configure Nova#3
2017/09/01
 
Install OpenStack Compute Service (Nova).
This example is based on the emvironment like follows.
If you'd like to install Nova Compute on another Computer, refer to here.
                  eth0|10.0.0.30 
          +-----------+-----------+
          |    [ Control Node ]   |
          |                       |
          |  MariaDB    RabbitMQ  |
          |  Memcached  httpd     |
          |  Keystone   Glance    |
          |   Nova API,Compute    |
          +-----------------------+

[1]
Install KVM HyperVisor on Compute Host, refer to here.
It's unnecessarry to set Bridge networking on the section [2] of the link.
[2] Install Nova Compute.
root@dlp ~(keystone)#
apt-get -y install nova-compute-kvm
[3] In addition to basic settings of Nova, add following settings.
root@dlp ~(keystone)#
vi /etc/nova/nova.conf
# add follows

# enable VNC
[vnc]
enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 10.0.0.30
novncproxy_base_url = http://10.0.0.30:6080/vnc_auto.html 
[4] Start Nova Compute.
root@dlp ~(keystone)#
systemctl restart nova-compute

# discover Compute Node

root@dlp ~(keystone)#
su -s /bin/bash nova -c "nova-manage cell_v2 discover_hosts"
# show status

root@dlp ~(keystone)#
openstack compute service list

+----+--------------+--------------+----------+---------+-------+--------------+
| ID | Binary       | Host         | Zone     | Status  | State | Updated At   |
+----+--------------+--------------+----------+---------+-------+--------------+
|  1 | nova-        | dlp.srv.worl | internal | enabled | up    | 2017-09-01T0 |
|    | conductor    | d            |          |         |       | 4:44:35.0000 |
|    |              |              |          |         |       | 00           |
|  7 | nova-        | dlp.srv.worl | internal | enabled | up    | 2017-09-01T0 |
|    | scheduler    | d            |          |         |       | 4:44:43.0000 |
|    |              |              |          |         |       | 00           |
|  8 | nova-        | dlp.srv.worl | internal | enabled | up    | 2017-09-01T0 |
|    | consoleauth  | d            |          |         |       | 4:44:44.0000 |
|    |              |              |          |         |       | 00           |
|  9 | nova-compute | dlp.srv.worl | nova     | enabled | up    | 2017-09-01T0 |
|    |              | d            |          |         |       | 4:44:38.0000 |
|    |              |              |          |         |       | 00           |
+----+--------------+--------------+----------+---------+-------+--------------+
 
Tweet